package com.nami.im.network.model.message.v2;

import com.nami.im.network.model.message.*;
import lombok.Data;

@Data
public class Message {

    private String senderId;

    private String targetId;

    /**
     *
     */
    private Integer channelType;

    /**
     * msgId
     */
    private String msgId;

    /**
     * 消息类型
     */
    private String msgType;

    /**
     * 消息内容
     */
    private String msgContent;

    /**
     * 前端发消息时间
     */
    private Long msgTime;

    private boolean isSend;

    private String platform = "";

    private Long msgSeqNo;

    private boolean isRead;

    private Message referMsg;

    private MsgUser targetUserInfo;

    private MsgGroupInfo groupInfo;

    /**
     * 客户端消息id
     */
    private String clientUid;

    private PushData pushData;
    private MentionInfo mentionInfo;

    private MergedMsgs mergedMsgs;

    private Integer flags;


    private Integer undisturbType;
    private Integer memberCount;
    private Integer readCount;
    private Integer unReadIndex;

    private GrpMemberInfo grpMemberInfo;
    private Long destroyTime;
    private Long lifeTimeAfterRead;
    private boolean isDelete;
    private String subChannel;


}
